package com.zhuss.enums;

import java.util.List;

public enum MessageType implements BaseEnum {
	
//	登录(10, "登录", "SMS_205390297"),
	登录(10, "登录", "SMS_211870323"),
	// 注册(20, "注册", "SMS_205390298"),
	支付(30, "支付", "SMS_205395353"),
//	购票(40, "购票", "SMS_210997436"),
	购票(40, "购票", "SMS_211489084"),
	购票3(40, "购票", "SMS_211494323"),
	购票5(40, "购票", "SMS_211489448"),
	乘车(50, "乘车", "SMS_211027386"),
	;
	
	Integer key;
	
	String value;
	
	String tag;
	
	MessageType(Integer key, String value, String tag) {
		this.key = key;
		this.value = value;
		this.tag = tag;
	}

	public Boolean sameKey(Integer key) {
		return this.key.equals(key);
	}

	public Integer key() {
		return key;
	}

	public String value() {
		return value;
	}
	
	public String tag() {
		return tag;
	}
	
	public String data() {
		return value;
	}

	@Override
	public List<Integer> removeIdList() {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public Boolean sameValue(String value) {
		return this.value.equals(value);
	}
	

}
